Location:
Search - MPi read
Search list
Description: MPI编程-Nbody问题并行程序(计算1000个天体的移动,天体数据由文件sample_input.in读入,结果输出到文件result1000.data)-MPI Programming-Nbody Parallel (1000 calculated the movement of celestial bodies, Objects sample_input.in data from the document read into, Results output to a file result1000.data)
Platform: |
Size: 25401 |
Author: mimi |
Hits:
Description: 一本MPI并行程序设计的入门教材,浅显易懂,十分适合初学者阅读。-an MPI parallel programming introductory materials, which are written, they are very suitable for beginners to read.
Platform: |
Size: 825952 |
Author: 铃铃 |
Hits:
Description: Private Declare Function DeleteFile Lib "kernel32" Alias "DeleteFileA" (ByVal lpFileName As String) As Long
'*************************************************************
Public Function ImportPhoto(sPicFile As String, sEmpID As String) As String
Dim rcsPic As ADODB.Recordset
Dim sMax As String
Dim sInsertPic As String
Dim rcsTemp As New Recordset
Dim sTempSQL As String
If Trim(sPicFile) = "" Then Exit Function
On Error GoTo ErrorImportPhoto
Set rcsPic = New ADODB.Recordset
rcsPic.CursorType = adOpenKeyset
rcsPic.LockType = adLockOptimistic '
rcsPic.Open "T_PPICTURE ", AstDbCnt, , , adCmdTable 'astdbcnt 替换为你连接方式
Set mstream = New ADODB.Stream
mstream.Type = adTypeBinary
mstream.Open
mstream.LoadFromFile sPicFile
rcsPic.AddNew
rcsPic.Fields("PERS").Value = sEmpID
rcsPic.Fields("PIC").Value = mstream.Read
rcsPic.Update
mstream.Close
Set mstream = Nothing
rcsPic.Close
Set rcsPic = Nothing
Exit Function
ErrorImportPhoto:
ImportPhoto = "FALSE"
End Function
'注意要将 AstDbCnt 替换为你的oracle 连接
Public Function DisplayPhoto(oPicture As PictureBox, sPicID As String)
Dim rcsDisplay As ADODB.Recordset
Set rcsDisplay = New ADODB.Recordset
Dim mstream As ADODB.Stream
Dim mc0 As String
rcsDisplay.Open "Select * from T_PPICTURE where PERS = '" & sPicID & "'", AstDbCnt, adOpenKeyset, adLockOptimistic
If rcsDisplay.EOF Then
oPicture.Picture = LoadPicture()
Exit Function
End If
If IsNull(rcsDisplay.Fields("PIC").Value) Then
oPicture.Picture = LoadPicture()
Exit Function
End If
Set mstream = New ADODB.Stream
mstream.Type = adTypeBinary
mstream.Open
mstream.Write rcsDisplay.Fields("PIC").Value
strclose = App.Path & "\AstPhoto_temp"
DeleteFile (strclose)
mstream.SaveToFile strclose
mstream.Close
Set mstream = Nothing
rcsDisplay.Close
Set rcsDisplay = Nothing
oPicture.Picture = LoadPicture(strclose)
End Function
Private Sub Command1_Click()
Set cn = New ADODB.Connection
cn.Open "Provider=SQLOLEDB;data Source=IWP2;Initial Catalog=T213;User Id=sa;Password=sql123"
Set rs = New ADODB.Recordset
rs.Open "Select * from QB_T213PMPD where DT=2006080818", cn, adOpenKeyset, adLockOptimistic
Set mstream = New ADODB.Stream
mstream.Type = adTypeBinary
mstream.Open
mstream.Write rs.Fields("MPI").Value
mstream.SaveToFile "P:\T213_data\ShowMPI\T213_3.mpi", adSaveCreateOverWrite
rs.Close
cn.Close
End Sub
Private Sub Command2_Click()
Set cn = New ADODB.Connection
cn.Open "Provider=SQLOLEDB;data Source=;Initial Catalog=pubs;User Id=;Password="
Set rs = New ADODB.Recordset
rs.Open "Select * from pub_info", cn, adOpenKeyset, adLockOptimistic
Set mstream = New ADODB.Stream
mstream.Type = adTypeBinary
mstream.Open
mstream.LoadFromFile ""
rs.Fields("logo").Value = mstream.Read
rs.Update
rs.Close
cn.Close
End Sub
Platform: |
Size: 3123 |
Author: wuzhiyong_130@163.com |
Hits:
Description: MPI编程-Nbody问题并行程序(计算1000个天体的移动,天体数据由文件sample_input.in读入,结果输出到文件result1000.data)-MPI Programming-Nbody Parallel (1000 calculated the movement of celestial bodies, Objects sample_input.in data from the document read into, Results output to a file result1000.data)
Platform: |
Size: 25600 |
Author: mimi |
Hits:
Description: 一本MPI并行程序设计的入门教材,浅显易懂,十分适合初学者阅读。-an MPI parallel programming introductory materials, which are written, they are very suitable for beginners to read.
Platform: |
Size: 825344 |
Author: 铃铃 |
Hits:
Description: * 算法描述: 分段 -> 段内排序 -> 归约结果。
* 1,根进程读取输入,将元素个数广播给各个进程。
* 2,然后各进程计算段长度和段偏移。
* 3,然后根进程选择第一个段,标记站位符。
* 4,跟进程将剩余元素发送给下一进程,下一进程选择段的同时,根进程排序。
* 5,下一进程继续此过程,直到最后一个进程,所有元素都进行排序。
* 6,进程将排序好的元素,按照段偏移归约给根进程。
* 7,根进程输入结果。
* -* Algorithm description: Sub--> paragraph sort-> reduce the results.* 1, the root process to read input, will be broadcast to all elements of the process.* 2, and then the process of calculating the length and offset paragraph.* 3, and then the root process, select the first paragraph, mark at stations.* 4, with the remaining elements of the process sent to the next process, the process of choosing the next paragraph, the root process of sorting.* 5, the next process to continue this process until the last process, all the elements are sorted.* 6, the process will be good to sort elements, in accordance with the above offset to the root process of reduction.* 7, enter the results of the root process.*
Platform: |
Size: 3072 |
Author: lrl |
Hits:
Description: 本书介绍目前最常见的并行程序—MPI并行程序的设计方法它适合高校三四年级本科
生非计算机专业研究生作为教材和教学自学参考书也适合于广大的并行计算高性能计
算用户作为自学参考书使用对于有FORTRAN和C编程经验的人员都可以阅读并掌握
本书的内容-Introduction of this book is currently the most common-MPI parallel programming parallel programming design method it is suitable for college undergraduate class in 2034 postgraduate non-computer as a major self-teaching materials and reference books are also suitable for parallel computing in the vast number of high-performance computing users as self-reference the use of the book there is FORTRAN and C programming experience can be read and grasp the contents of this book
Platform: |
Size: 856064 |
Author: 澄海 |
Hits:
Description: program that reads an integer value from the terminal and distributes the value to all of the MPI processes. Each process should print out its rank and the value it received. Values should be read until a negative integer is given as input. You may find it helpful to include a fflush (stdout) after the printf calls in your program. Without this, output may not appear when you expect it. - program that reads an integer value from the terminal and distributes the value to all of the MPI processes. Each process should print out its rank and the value it received. Values should be read until a negative integer is given as input. You may find it helpful to include a fflush (stdout) after the printf calls in your program. Without this, output may not appear when you expect it.
Platform: |
Size: 32768 |
Author: eeynaz |
Hits:
Description: 一本介绍MPI的书籍,不过格式是PS格式的,想要正常阅读需要下载软件-MPI to introduce a book, but the format is the format PS, you want to read will need to download software
Platform: |
Size: 356352 |
Author: 澄海 |
Hits:
Description: 并行计算程序
Description: This program blurs an image file in a parallelized computation
The root process reads the file and distributes a part of the image file to
other processes. Each process makes the filter operation on the part of the image data which is received from the root. Then all the processes send their blurred image data to the root and root writes the result in a file-Distributed Image Processing Filter
Write a program that blurs an image file in a parallelized computation. Whenever possible, use collective
operations (MPI_Scatter, MPI_Gather). The root process reads the image file from the NFS
server, distributes the data of the file among all processes, and gathers the results into the output file.
Each processor should receive a part of the image only. The image file is provided as a raw image file.
It can be read using the C function fread() with a single call and written with the single call of the
function fwrite(). The image is given as an array of h rows, a row has 1280 pixels , where each pixel
is one unsigned char grey value. You may assume that h is lower than or equal to 8192.
a) Write an MPI program in which the root process prepairs the data, so that all other processes
get their data by exactly one MPI_Scatter operation.
Platform: |
Size: 2048 |
Author: 刘铭 |
Hits:
Description: 本书介绍目前最常见的并行程序—MPI并行程序的设计方法它适合高校三四年级本科
生非计算机专业研究生作为教材和教学自学参考书也适合于广大的并行计算高性能计
算用户作为自学参考书使用对于有FORTRAN和C编程经验的人员都可以阅读并掌握
本书的内容-This book describes the most common parallel program-MPI parallel program design method is suitable for non-college 34-year undergraduate computer science graduate students as teaching materials and reference books are also suitable for self-extensive parallel high-performance computing users as a self-reference using a FORTRAN and C programming for experienced personnel can read and grasp the contents of the book
Platform: |
Size: 825344 |
Author: baolon |
Hits:
Description: 读取文件,然后根据要求选择进程数,并行运算,最后在得出的各个结果中选出最大值-Read the file, and then asked to choose the number of processes, parallel computing, in the end all the results obtained to select the maximum
Platform: |
Size: 1175552 |
Author: 胡言防 |
Hits:
Description: 高性能计算之并行编程技术
本书介绍目前最常见的并行程序—MPI并行程序的设计方法 它适合高校三四年级本科
生 非计算机专业研究生作为教材和教学自学参考书 也适合于广大的并行计算 高性能计
算 用户作为自学参考书使用 对于有FORTRAN和C编程经验的人员 都可以阅读并掌握
本书的内容-High Performance Computing for Parallel Programming Techniques book describes the most common parallel program-MPI parallel program design method is suitable for non-college 34-year undergraduate computer science graduate students as teaching materials and teaching self-reference is also suitable for parallel computing in general high performance computing customers to use as a self-reference are FORTRAN and C programming for experienced personnel can read and grasp the contents of the book
Platform: |
Size: 825344 |
Author: 巴山竹 |
Hits:
Description: S7 200通过MPI协议读取,同时,用OPC协议发布-S7 200 via MPI protocol to read the same time, published by OPC protocol
Platform: |
Size: 4732928 |
Author: chenmo |
Hits:
Description: matlab读取程序,用于一般软件数据处理的读入-matlab read the procedures for the general reading of data processing software
Platform: |
Size: 4096 |
Author: 王伟 |
Hits:
Description: Siemens PPI协议分析
西门子S7-200 PLC之间或者PLC与PC之间通信有很多种方式:自由口,PPI方式,MPI方式,Profibus方式。使用自由口方式进行编程时,在上位机和PLC中都要编写数据通信程序。使用PPI协议进行通信时,PLC可以不用编程,而且可读写所有数据区,快捷方便。但是西门子公司没有公布PPI协议的格式。用户如果想使用PPI协议监控,必须购买其监控产品或第三方厂家的组态软件。这样给用户自主开发带来一定困难,特别是自行开发的现场设备就不能通过PPI协议接入PLC。其它通讯方式编程也存在编程复杂,需要购买软件和授权等局限性。通过数据监视、分析的方法,我们找出了PPI协议的关键报文格式,可用于上位机、现场设备与S7-200 CPU之间通讯。-Siemens PPI negotiates analysis
Siemens S7-200 PLCs it occasionally between PC and PLC the correspondence has a lot of methods: free orifice, PPI method, MPI method, Profibus method.Use free when the orifice method progress weave a distance all want to write data correspondence procedure in the place of honor machine and PLC.While using PPI to negotiate progress correspondence PLC can need not plait distance, and can read and write all data zones, fast convenience.But Siemens company didn t release PPI the format of agreement.If the consumer wants to use PPI to negotiate supervision, has to buy the configuration software that it supervises and controls a product or third party plant house.Give the consumer independent tapping fetch must be difficult like this, develop especially and by oneself of site equipment the incapability negotiate connecting through PPI into PLC.Other telecommunication methods
Platform: |
Size: 18432 |
Author: AAA |
Hits:
Description: MPI带状划分矩阵乘法 MPI文件并行读写-MPI the striping matrix multiplication MPI parallel read and write files
Platform: |
Size: 2048 |
Author: asfgsadko3 |
Hits:
Description: 本书介绍目前最常见的并行程序—MPI并行程序的设计方法它适合高校三四年级本科生非计算机专业研究生作为教材和教学自学参考书也适合于广大的并行计算高性能计算用户作为自学参考书使用对于有FORTRAN和C编程经验的人员都可以阅读并掌握本书的内容-This book describes the most common parallel program-MPI parallel program design method it is suitable for fourth year undergraduate college graduate as non-computer textbooks and teaching self-reference is also suitable for the majority of users as a high-performance computing parallel computing self-reference For use with FORTRAN and C programming experience who can read and understand the contents of this book
Platform: |
Size: 824320 |
Author: wang |
Hits:
Description: 基于vc写的离散小波变换程序,运行环境MPI并行,读取文件-Vc wrote on discrete wavelet transform procedures, operating environment MPI parallel, read the file
Platform: |
Size: 2048 |
Author: john |
Hits:
Description: Read address 0 in order to get the SCP reset done completed Dummy access performed to make sure reset is done.
Platform: |
Size: 3072 |
Author: 钗头凤 |
Hits: